home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-04-30 | 2.4 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Apr 30 14:00:21 1993, modified Fri Apr 30 14:00:21 1993, creator Think C, type ASCII, 1893 bytes "RealComponentDispatch.c" , at 0x7e5 356 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 17 52 65 61 6c 43 6f | 6d 70 6f 6e 65 6e 74 44 |..RealCo|mponentD|
|00000010| 69 73 70 61 74 63 68 2e | 63 00 00 00 00 00 00 00 |ispatch.|c.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 07 65 00 | 00 01 64 a8 07 19 b5 a8 |......e.|..d.....|
|00000060| 07 19 b5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b1 28 00 00 |........|.....(..|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 43 6f 6d 70 6f 6e |#include| "Compon|
|00000090| 65 6e 74 44 61 74 61 2e | 68 22 0d 0d 23 69 6e 63 |entData.|h"..#inc|
|000000a0| 6c 75 64 65 20 22 4d 79 | 43 61 6e 44 6f 43 6f 6d |lude "My|CanDoCom|
|000000b0| 70 6f 6e 65 6e 74 2e 68 | 22 0d 23 69 6e 63 6c 75 |ponent.h|".#inclu|
|000000c0| 64 65 20 22 4d 79 56 65 | 72 73 69 6f 6e 43 6f 6d |de "MyVe|rsionCom|
|000000d0| 70 6f 6e 65 6e 74 2e 68 | 22 0d 23 69 6e 63 6c 75 |ponent.h|".#inclu|
|000000e0| 64 65 20 22 4d 79 54 61 | 72 67 65 74 43 6f 6d 70 |de "MyTa|rgetComp|
|000000f0| 6f 6e 65 6e 74 2e 68 22 | 0d 0d 23 69 6e 63 6c 75 |onent.h"|..#inclu|
|00000100| 64 65 20 22 4d 79 4f 70 | 65 6e 43 6f 6d 70 6f 6e |de "MyOp|enCompon|
|00000110| 65 6e 74 2e 68 22 0d 23 | 69 6e 63 6c 75 64 65 20 |ent.h".#|include |
|00000120| 22 4d 79 43 6c 6f 73 65 | 43 6f 6d 70 6f 6e 65 6e |"MyClose|Componen|
|00000130| 74 2e 68 22 0d 0d 23 69 | 6e 63 6c 75 64 65 20 22 |t.h"..#i|nclude "|
|00000140| 4d 79 55 6e 72 65 67 69 | 73 74 65 72 43 6f 6d 70 |MyUnregi|sterComp|
|00000150| 6f 6e 65 6e 74 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |onent.h"|.#includ|
|00000160| 65 20 22 4d 79 52 65 67 | 69 73 74 65 72 43 6f 6d |e "MyReg|isterCom|
|00000170| 70 6f 6e 65 6e 74 2e 68 | 22 0d 0d 23 69 6e 63 6c |ponent.h|"..#incl|
|00000180| 75 64 65 20 22 4d 79 4f | 76 65 72 72 69 64 65 52 |ude "MyO|verrideR|
|00000190| 6f 75 74 69 6e 65 31 2e | 68 22 0d 23 69 6e 63 6c |outine1.|h".#incl|
|000001a0| 75 64 65 20 22 4d 79 4f | 76 65 72 72 69 64 65 52 |ude "MyO|verrideR|
|000001b0| 6f 75 74 69 6e 65 32 2e | 68 22 0d 0d 70 61 73 63 |outine2.|h"..pasc|
|000001c0| 61 6c 20 43 6f 6d 70 6f | 6e 65 6e 74 52 65 73 75 |al Compo|nentResu|
|000001d0| 6c 74 20 6d 61 69 6e 28 | 43 6f 6d 70 6f 6e 65 6e |lt main(|Componen|
|000001e0| 74 50 61 72 61 6d 65 74 | 65 72 73 20 2a 70 61 72 |tParamet|ers *par|
|000001f0| 61 6d 73 2c 50 72 69 76 | 61 74 65 47 6c 6f 62 61 |ams,Priv|ateGloba|
|00000200| 6c 73 20 2a 2a 73 74 6f | 72 61 67 65 29 0d 7b 0d |ls **sto|rage).{.|
|00000210| 43 6f 6d 70 6f 6e 65 6e | 74 52 65 73 75 6c 74 09 |Componen|tResult.|
|00000220| 72 65 73 75 6c 74 3b 0d | 0d 69 66 20 28 70 61 72 |result;.|.if (par|
|00000230| 61 6d 73 2d 3e 77 68 61 | 74 20 3c 20 30 29 09 09 |ams->wha|t < 0)..|
|00000240| 09 0d 09 73 77 69 74 63 | 68 28 70 61 72 61 6d 73 |...switc|h(params|
|00000250| 2d 3e 77 68 61 74 29 0d | 09 7b 0d 09 63 61 73 65 |->what).|.{..case|
|00000260| 20 6b 43 6f 6d 70 6f 6e | 65 6e 74 4f 70 65 6e 53 | kCompon|entOpenS|
|00000270| 65 6c 65 63 74 3a 0d 09 | 09 72 65 73 75 6c 74 20 |elect:..|.result |
|00000280| 3d 20 43 61 6c 6c 43 6f | 6d 70 6f 6e 65 6e 74 46 |= CallCo|mponentF|
|00000290| 75 6e 63 74 69 6f 6e 28 | 70 61 72 61 6d 73 2c 4d |unction(|params,M|
|000002a0| 79 4f 70 65 6e 43 6f 6d | 70 6f 6e 65 6e 74 29 3b |yOpenCom|ponent);|
|000002b0| 0d 09 09 62 72 65 61 6b | 3b 0d 09 63 61 73 65 20 |...break|;..case |
|000002c0| 6b 43 6f 6d 70 6f 6e 65 | 6e 74 43 6c 6f 73 65 53 |kCompone|ntCloseS|
|000002d0| 65 6c 65 63 74 3a 0d 09 | 09 72 65 73 75 6c 74 20 |elect:..|.result |
|000002e0| 3d 20 43 61 6c 6c 43 6f | 6d 70 6f 6e 65 6e 74 46 |= CallCo|mponentF|
|000002f0| 75 6e 63 74 69 6f 6e 57 | 69 74 68 53 74 6f 72 61 |unctionW|ithStora|
|00000300| 67 65 28 28 48 61 6e 64 | 6c 65 29 73 74 6f 72 61 |ge((Hand|le)stora|
|00000310| 67 65 2c 70 61 72 61 6d | 73 2c 4d 79 43 6c 6f 73 |ge,param|s,MyClos|
|00000320| 65 43 6f 6d 70 6f 6e 65 | 6e 74 29 3b 0d 09 09 62 |eCompone|nt);...b|
|00000330| 72 65 61 6b 3b 0d 09 63 | 61 73 65 20 6b 43 6f 6d |reak;..c|ase kCom|
|00000340| 70 6f 6e 65 6e 74 43 61 | 6e 44 6f 53 65 6c 65 63 |ponentCa|nDoSelec|
|00000350| 74 3a 0d 09 09 72 65 73 | 75 6c 74 20 3d 20 43 61 |t:...res|ult = Ca|
|00000360| 6c 6c 43 6f 6d 70 6f 6e | 65 6e 74 46 75 6e 63 74 |llCompon|entFunct|
|00000370| 69 6f 6e 57 69 74 68 53 | 74 6f 72 61 67 65 28 28 |ionWithS|torage((|
|00000380| 48 61 6e 64 6c 65 29 73 | 74 6f 72 61 67 65 2c 70 |Handle)s|torage,p|
|00000390| 61 72 61 6d 73 2c 4d 79 | 43 61 6e 44 6f 43 6f 6d |arams,My|CanDoCom|
|000003a0| 70 6f 6e 65 6e 74 29 3b | 0d 09 09 62 72 65 61 6b |ponent);|...break|
|000003b0| 3b 0d 09 63 61 73 65 20 | 6b 43 6f 6d 70 6f 6e 65 |;..case |kCompone|
|000003c0| 6e 74 56 65 72 73 69 6f | 6e 53 65 6c 65 63 74 3a |ntVersio|nSelect:|
|000003d0| 0d 09 09 72 65 73 75 6c | 74 20 3d 20 43 61 6c 6c |...resul|t = Call|
|000003e0| 43 6f 6d 70 6f 6e 65 6e | 74 46 75 6e 63 74 69 6f |Componen|tFunctio|
|000003f0| 6e 28 70 61 72 61 6d 73 | 2c 4d 79 56 65 72 73 69 |n(params|,MyVersi|
|00000400| 6f 6e 43 6f 6d 70 6f 6e | 65 6e 74 29 3b 0d 09 09 |onCompon|ent);...|
|00000410| 62 72 65 61 6b 3b 0d 09 | 63 61 73 65 20 6b 43 6f |break;..|case kCo|
|00000420| 6d 70 6f 6e 65 6e 74 52 | 65 67 69 73 74 65 72 53 |mponentR|egisterS|
|00000430| 65 6c 65 63 74 3a 0d 09 | 09 72 65 73 75 6c 74 20 |elect:..|.result |
|00000440| 3d 20 43 61 6c 6c 43 6f | 6d 70 6f 6e 65 6e 74 46 |= CallCo|mponentF|
|00000450| 75 6e 63 74 69 6f 6e 57 | 69 74 68 53 74 6f 72 61 |unctionW|ithStora|
|00000460| 67 65 28 28 48 61 6e 64 | 6c 65 29 73 74 6f 72 61 |ge((Hand|le)stora|
|00000470| 67 65 2c 70 61 72 61 6d | 73 2c 4d 79 52 65 67 69 |ge,param|s,MyRegi|
|00000480| 73 74 65 72 43 6f 6d 70 | 6f 6e 65 6e 74 29 3b 0d |sterComp|onent);.|
|00000490| 09 09 62 72 65 61 6b 3b | 0d 09 63 61 73 65 20 6b |..break;|..case k|
|000004a0| 43 6f 6d 70 6f 6e 65 6e | 74 55 6e 72 65 67 69 73 |Componen|tUnregis|
|000004b0| 74 65 72 53 65 6c 65 63 | 74 3a 0d 09 09 72 65 73 |terSelec|t:...res|
|000004c0| 75 6c 74 20 3d 20 43 61 | 6c 6c 43 6f 6d 70 6f 6e |ult = Ca|llCompon|
|000004d0| 65 6e 74 46 75 6e 63 74 | 69 6f 6e 57 69 74 68 53 |entFunct|ionWithS|
|000004e0| 74 6f 72 61 67 65 28 28 | 48 61 6e 64 6c 65 29 73 |torage((|Handle)s|
|000004f0| 74 6f 72 61 67 65 2c 70 | 61 72 61 6d 73 2c 4d 79 |torage,p|arams,My|
|00000500| 55 6e 72 65 67 69 73 74 | 65 72 43 6f 6d 70 6f 6e |Unregist|erCompon|
|00000510| 65 6e 74 29 3b 0d 09 09 | 62 72 65 61 6b 3b 0d 09 |ent);...|break;..|
|00000520| 63 61 73 65 20 6b 43 6f | 6d 70 6f 6e 65 6e 74 54 |case kCo|mponentT|
|00000530| 61 72 67 65 74 53 65 6c | 65 63 74 3a 0d 09 09 72 |argetSel|ect:...r|
|00000540| 65 73 75 6c 74 20 3d 20 | 43 61 6c 6c 43 6f 6d 70 |esult = |CallComp|
|00000550| 6f 6e 65 6e 74 46 75 6e | 63 74 69 6f 6e 57 69 74 |onentFun|ctionWit|
|00000560| 68 53 74 6f 72 61 67 65 | 28 28 48 61 6e 64 6c 65 |hStorage|((Handle|
|00000570| 29 73 74 6f 72 61 67 65 | 2c 70 61 72 61 6d 73 2c |)storage|,params,|
|00000580| 4d 79 54 61 72 67 65 74 | 43 6f 6d 70 6f 6e 65 6e |MyTarget|Componen|
|00000590| 74 29 3b 0d 09 09 62 72 | 65 61 6b 3b 0d 09 64 65 |t);...br|eak;..de|
|000005a0| 66 61 75 6c 74 3a 0d 09 | 09 72 65 73 75 6c 74 20 |fault:..|.result |
|000005b0| 3d 20 62 61 64 43 6f 6d | 70 6f 6e 65 6e 74 53 65 |= badCom|ponentSe|
|000005c0| 6c 65 63 74 6f 72 3b 0d | 09 09 62 72 65 61 6b 3b |lector;.|..break;|
|000005d0| 0d 09 7d 0d 65 6c 73 65 | 09 09 09 09 09 09 09 0d |..}.else|........|
|000005e0| 09 73 77 69 74 63 68 28 | 70 61 72 61 6d 73 2d 3e |.switch(|params->|
|000005f0| 77 68 61 74 29 0d 09 09 | 7b 0d 09 09 63 61 73 65 |what)...|{...case|
|00000600| 20 6b 4d 79 4f 76 65 72 | 72 69 64 65 52 6f 75 74 | kMyOver|rideRout|
|00000610| 69 6e 65 31 3a 0d 09 09 | 09 72 65 73 75 6c 74 20 |ine1:...|.result |
|00000620| 3d 20 43 61 6c 6c 43 6f | 6d 70 6f 6e 65 6e 74 46 |= CallCo|mponentF|
|00000630| 75 6e 63 74 69 6f 6e 57 | 69 74 68 53 74 6f 72 61 |unctionW|ithStora|
|00000640| 67 65 28 28 48 61 6e 64 | 6c 65 29 73 74 6f 72 61 |ge((Hand|le)stora|
|00000650| 67 65 2c 70 61 72 61 6d | 73 2c 4d 79 4f 76 65 72 |ge,param|s,MyOver|
|00000660| 72 69 64 65 52 6f 75 74 | 69 6e 65 31 29 3b 0d 09 |rideRout|ine1);..|
|00000670| 09 09 72 65 73 75 6c 74 | 20 3d 20 44 65 6c 65 67 |..result| = Deleg|
|00000680| 61 74 65 43 6f 6d 70 6f | 6e 65 6e 74 43 61 6c 6c |ateCompo|nentCall|
|00000690| 28 70 61 72 61 6d 73 2c | 28 2a 73 74 6f 72 61 67 |(params,|(*storag|
|000006a0| 65 29 2d 3e 64 65 6c 65 | 67 61 74 65 29 3b 0d 09 |e)->dele|gate);..|
|000006b0| 09 09 62 72 65 61 6b 3b | 0d 09 09 63 61 73 65 20 |..break;|...case |
|000006c0| 6b 4d 79 4f 76 65 72 72 | 69 64 65 52 6f 75 74 69 |kMyOverr|ideRouti|
|000006d0| 6e 65 32 3a 0d 09 09 09 | 72 65 73 75 6c 74 20 3d |ne2:....|result =|
|000006e0| 20 43 61 6c 6c 43 6f 6d | 70 6f 6e 65 6e 74 46 75 | CallCom|ponentFu|
|000006f0| 6e 63 74 69 6f 6e 57 69 | 74 68 53 74 6f 72 61 67 |nctionWi|thStorag|
|00000700| 65 28 28 48 61 6e 64 6c | 65 29 73 74 6f 72 61 67 |e((Handl|e)storag|
|00000710| 65 2c 70 61 72 61 6d 73 | 2c 4d 79 4f 76 65 72 72 |e,params|,MyOverr|
|00000720| 69 64 65 52 6f 75 74 69 | 6e 65 32 29 3b 0d 09 09 |ideRouti|ne2);...|
|00000730| 09 72 65 73 75 6c 74 20 | 3d 20 44 65 6c 65 67 61 |.result |= Delega|
|00000740| 74 65 43 6f 6d 70 6f 6e | 65 6e 74 43 61 6c 6c 28 |teCompon|entCall(|
|00000750| 70 61 72 61 6d 73 2c 28 | 2a 73 74 6f 72 61 67 65 |params,(|*storage|
|00000760| 29 2d 3e 64 65 6c 65 67 | 61 74 65 29 3b 0d 09 09 |)->deleg|ate);...|
|00000770| 09 62 72 65 61 6b 3b 0d | 09 09 64 65 66 61 75 6c |.break;.|..defaul|
|00000780| 74 3a 0d 09 09 09 72 65 | 73 75 6c 74 20 3d 20 44 |t:....re|sult = D|
|00000790| 65 6c 65 67 61 74 65 43 | 6f 6d 70 6f 6e 65 6e 74 |elegateC|omponent|
|000007a0| 43 61 6c 6c 28 70 61 72 | 61 6d 73 2c 28 2a 73 74 |Call(par|ams,(*st|
|000007b0| 6f 72 61 67 65 29 2d 3e | 64 65 6c 65 67 61 74 65 |orage)->|delegate|
|000007c0| 29 3b 0d 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 7d |);....br|eak;...}|
|000007d0| 0d 0d 72 65 74 75 72 6e | 20 72 65 73 75 6c 74 3b |..return| result;|
|000007e0| 0d 7d 0d 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 32 | 00 00 00 32 00 00 00 32 |.......2|...2...2|
|00000810| 00 30 72 09 e2 a0 c0 e8 | 00 3e e3 a0 22 6e 00 08 |.0r.....|.>.."n..|
|00000820| 22 80 4e 5e 22 5f 4f ef | 00 0e 4e d1 4e 56 ff b0 |".N^"_O.|..N.NV..|
|00000830| 17 52 65 61 6c 43 6f 6d | 70 6f 6e 65 6e 74 44 69 |.RealCom|ponentDi|
|00000840| 73 70 61 74 63 68 2e 63 | 02 00 00 00 54 45 58 54 |spatch.c|....TEXT|
|00000850| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 ff ff ff ff |..TEXTKA|HL......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 a7 c9 19 57 00 00 | 07 65 00 00 01 64 22 5f |.....W..|.e...d"_|
|00000880| 50 8f 4e d1 4e 56 ff c0 | 20 4f 21 6e 00 0a 00 12 |P.N.NV..| O!n....|
|00000890| 31 6e 00 08 00 16 a0 15 | 3d 40 00 0e 4e 5e 22 5f |1n......|=@..N^"_|
|000008a0| 5c 8f 4e d1 4e 56 ff c0 | 20 4f 31 6e 00 08 00 16 |\.N.NV..| O1n....|
|000008b0| 21 6e 00 0a 00 12 a0 0e | 3d 40 00 0e 4e 5e 22 5f |!n......|=@..N^"_|
|000008c0| 5c 8f 4e d1 4e 56 ff c0 | 20 4f 31 6e 00 08 00 16 |\.N.NV..| O1n....|
|000008d0| 21 6e 00 0a 00 12 a0 17 | 3d 40 00 0e 4e 5e 22 5f |!n......|=@..N^"_|
|000008e0| 5c 8f 4e d1 4e 56 ff c0 | 20 4f 31 6e 00 08 00 16 |\.N.NV..| O1n....|
|000008f0| 21 6e 00 0a 00 12 a0 13 | 3d 40 00 0e 4e 5e 22 5f |!n......|=@..N^"_|
|00000900| 00 00 00 2e 00 02 00 16 | 00 00 01 3c 00 0f 00 e7 |........|...<....|
|00000910| 31 90 00 00 07 72 65 73 | 75 6c 74 20 00 16 00 00 |1....res|ult ....|
|00000920| 01 3c 00 0f 00 e7 31 80 | 00 00 07 72 65 73 75 6c |.<....1.|...resul|
|00000930| 74 20 00 00 01 00 00 00 | 01 32 00 00 00 32 00 00 |t ......|.2...2..|
|00000940| 00 32 00 ee d8 5c 0c 20 | 00 00 00 1c 00 32 00 00 |.2...\. |.....2..|
|00000950| 44 54 56 55 00 00 00 0a | 17 b2 ff ff 00 00 00 00 |DTVU....|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+